<!-- $Id $ -->
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js,validator.js,selectzone2.js"}
<div class="main-div">
<form method="post" action="goods_bb.php" name="theForm" onsubmit="return validate()">
<table cellspacing="1" cellpadding="3" width="100%">
  <tr>
    <td class="label">设计风格名称：</td>
    <td><input type="text" name="bb_name" maxlength="60" size="40" value="{$data.bb_name}" />{$lang.require_field}</td>
  </tr>

  <tr>
    <td class="label">设计风格描述：</td>
    <td><textarea  name="bb_desc" cols="60" rows="4">{$data.bb_desc}</textarea></td>
  </tr>

  <tr>
    <td colspan="2" align="center">
      <input type="submit" value="{$lang.button_submit}" class="button"/>
      <input type="hidden" name="act" value="{$form_action}" />
      <input type="hidden" name="id" value="{$data.bb_id}" />
    </td>
  </tr>
</table>
</form>

</div>
<script language="JavaScript">
<!--
{literal}
	document.forms['theForm'].elements['bb_name'].focus();

/**
 * 检查表单输入的数据
 */
function validate()
{
    validator = new Validator("theForm");
    validator.required("bb_name",  no_name);
    return validator.passed();
}

//-->
{/literal}
</script>
{include file="pagefooter.htm"}